#pragma once

#include "scoped_ptr.h"
#include "dbghelp.h"
#include "Tlhelp32.h"

class ProcessWalker
{
public:
    ProcessWalker();
    virtual ~ProcessWalker();

    PROCESSENTRY32 * Get();
    BOOL Start(DWORD nPid);
    BOOL Next();

private:
    ScopedHandle m_hSnapshot;
    PROCESSENTRY32 m_oProcessEntry;
};